<?php

namespace Drupal\shusy_distribution\ViewsController\handler\filter;

use Drupal\shusy_distribution\ViewsController\Traits\ShusyDistributionSexTrait;
use views_handler_filter_in_operator;

class ShusyDistributionSexViewsFilter extends views_handler_filter_in_operator {

  use ShusyDistributionSexTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "性别 0 未知 1 男 2 女";
      $this->value_options = $this->getSexOptions();
    }
  }
}
